package com.love.marriage.matchmakerInfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDate;

/**
 * description:  红娘信息表类
 * author:       alex
 * createDate: 2024-11-05 22:09:25
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("matchmaker_info_t")
@Schema(description = "红娘信息表")
public class MatchmakerInfo extends BaseEntity<MatchmakerInfo>{

    @Schema(description = "红娘照片ID，关联存储的照片文件", type = "Long", implementation = Long.class)
    @TableField("photo_id")
    private Long photoId;

    @Schema(description = "用户id", type = "Long", implementation = Long.class)
    @TableField("user_id")
    private Long userId;

    @Schema(description = "姓名", type = "String", implementation = String.class)
    @TableField("`name`")
    private String name;

    @Schema(description = "出生年月日", type = "LocalDate", implementation = LocalDate.class)
    @TableField("birth_date")
    private LocalDate birthDate;

    @Schema(description = "联系方式", type = "String", implementation = String.class)
    @TableField("contact_phone")
    private String contactPhone;

    @Schema(description = "省份ID", type = "Long", implementation = Long.class)
    @TableField("province_id")
    private Long provinceId;

    @Schema(description = "城市ID", type = "Long", implementation = Long.class)
    @TableField("city_id")
    private Long cityId;

    @Schema(description = "县区ID", type = "Long", implementation = Long.class)
    @TableField("district_id")
    private Long districtId;

    @Schema(description = "入职日期（年月日）", type = "LocalDate", implementation = LocalDate.class)
    @TableField("entry_date")
    private LocalDate entryDate;

    @Schema(description = "擅长领域", type = "String", implementation = String.class)
    @TableField("expertise")
    private String expertise;

    @Schema(description = "职级", type = "String", implementation = String.class)
    @TableField("position_level")
    private String positionLevel;

    @Schema(description = "微信二维码图片文件ID", type = "Long", implementation = Long.class)
    @TableField("wechat_qrcode_id")
    private Long wechatQrcodeId;

    @Schema(description = "性别", type = "String", implementation = String.class)
    @TableField("gender")
    private String gender;

    @Schema(description = "编码", type = "Integer", implementation = Integer.class)
    @TableField("no")
    private Integer no;

    @Schema(description = "状态（1：审批中，2：审批通过）", type = "Integer", implementation = Integer.class)
    @TableField(value = "status")
    private Integer status;
}
